home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Various / JAMDisk #07 (1992)(Just Amiga Monthly)[WB].zip / JAMDisk #07 (1992)(Just Amiga Monthly)[WB].adf / DOC9110B.LZH / Startup < prev   
Text File  |  1991-10-12  |  935b  |  35 lines

  1. ; GCC:Startup
  2. ; This is a script for setting up the GCC front end.
  3.  
  4. ; GCC:bin contains cc, cpp, cc1, gas, ld, ar, objdump, nm
  5. ; GCC:lib contains startups, libraries
  6. ; GCC:include contains system include files
  7.  
  8. Assign GCC: Applications:gcc        ; Applications: is a partition
  9.  
  10. ; The following sets up the standard include directories - amiga_include
  11. ; is *not* included in this distribution, because it is (c) C=.
  12. ; If you don't do this, cpp searches gnu_gxx_include:, gnu_cc_include:,
  13. ; and include: (and you'll get the odd requester for them).
  14.  
  15. SetEnv GCC_INCLUDES "-I gcc:include -I gcc:amiga_include"
  16.  
  17. ; *NOTE* Do not assign the temporary area (TMPDIR) to the ramdisc unless
  18. ; you've got at least 3Mb (otherwise you'll probably run out of memory)
  19.  
  20. SetEnv TMPDIR "T:"
  21.  
  22. ; final setup: add to path ..
  23.  
  24. Path GCC:bin add
  25.  
  26. ; alias gcc ..
  27.  
  28. Alias cc gcc
  29.  
  30. ; bump stack (GNU software is a bit stack-happy)
  31.  
  32. Stack 131072
  33.  
  34. ; ready to roll ..
  35.